package com.wang.service;

import com.wang.pojo.TbTopic;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wang.pojo.TbTopicSimply;
import com.wang.pojo.TbUserAnswer;
import com.wang.utills.R;

/**
 *
 */
public interface TbTopicService extends IService<TbTopic> {

    R addnewtopic(TbTopic tbTopic);

    R delbuytid(Integer tid);

    R findtopicsimplyall();

    R upbuytid(TbTopic tbTopic);

    R addtopicsimply(TbTopicSimply tbTopicSimply);

    R deltopicsimply(Integer qid);

    R findTopicAll();

    R addtopicanswer(TbUserAnswer tbUserAnswer);

    R addreport(String toukes);
}
